package com.example.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.pojo.EnrollInfo;
import com.example.pojo.TeacherInfo;

import java.util.List;

public interface TeacherInfoDao {
    // 获取全部的学生基本信息
    List<TeacherInfo> teacherInfoList();

    // 分页获取全部学生基本信息
    IPage<TeacherInfo> teacherInfoListPage(int currentPage,int limit);

    IPage<TeacherInfo> getTeacherByName(int currentPage,int limit,String teacherName);

    TeacherInfo getTeacherByName(String teacherName);

    int addTeacher(TeacherInfo teacherInfo);

    int deleteTeacherInfo(Long eid);
}
